package com.tengju.bff.interfaces.covercharge.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "手机三要素含短信验证v2")
public class SmsVerificationV2Req {

    @ApiModelProperty(value = "姓名", required = true)
    @NotNull(message = "姓名不能为空")
    private String name;

    @ApiModelProperty(value = "身份证类型", required = true)
    @NotNull(message = "身份证类型不能为空")
    private String idCardType;

    @ApiModelProperty(value = "身份证号", required = true)
    @NotNull(message = "身份证号不能为空")
    private String idCardNo;

    @ApiModelProperty(value = "电话", required = true)
    @NotNull(message = "电话不能为空")
    private String mobile;

    @ApiModelProperty("极验参数：challenge")
    @NotNull(message = "极验参数（challenge）不能为空")
    private String challenge;

    @ApiModelProperty("极验参数：validate")
    @NotNull(message = "极验参数（validate）不能为空")
    private String validate;

    @ApiModelProperty("极验参数：secCode")
    @NotNull(message = "极验参数（secCode）不能为空")
    private String secCode;

}
